package com.example.tianling.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.tianling.admin.vo.BookDataVo;
import com.example.tianling.entity.BookEntity;

import java.util.List;


public interface BookManageService {
    Page<BookEntity> searchBook(Integer pageNum, Integer type, String keyword);

    BookEntity detailBook(String bookId);

    int updataBook(String bookId,String bookName,String year,String area,String bookType,String content);
    int deleteBook(List deleteList);
    int insertBook(String bookName,String year,String area,String bookType,String content);

    BookDataVo loadData();
}
